﻿<baseClass:Control xmlns:baseClass="clr-namespace:EFS.RC.Survey.Controls" x:Class="EFS.RC.Survey.Controls.Survey"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
	x:Name="ControlSurvey"
	MinWidth="500"
	xmlns:Core="clr-namespace:Microsoft.SilverlightMediaFramework.Core;assembly=Microsoft.SilverlightMediaFramework.Core" 
	xmlns:Media="clr-namespace:Microsoft.SilverlightMediaFramework.Core.Media;assembly=Microsoft.SilverlightMediaFramework.Core" Loaded="ControlSurvey_Loaded" BorderThickness="1" BorderBrush="Black" >

	<ScrollViewer Grid.Row="0" Grid.Column="0" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto" Name="scrollviewerList">
		<Grid VerticalAlignment="Stretch" HorizontalAlignment="Stretch" ScrollViewer.VerticalScrollBarVisibility="Visible" ScrollViewer.HorizontalScrollBarVisibility="Visible"  Name="mainGrid">
			<Grid.ColumnDefinitions>
				<ColumnDefinition Width="Auto"></ColumnDefinition>
				<ColumnDefinition Width="*"></ColumnDefinition>
			</Grid.ColumnDefinitions>
			<Grid.RowDefinitions>
				<RowDefinition Height="*"></RowDefinition>
				<RowDefinition Height="*"></RowDefinition>
				<RowDefinition Height="10"></RowDefinition>
				<RowDefinition Height="*"></RowDefinition>
				<RowDefinition Height="10"></RowDefinition>
				<RowDefinition Height="Auto"></RowDefinition>
				<RowDefinition Height="10"></RowDefinition>
				<RowDefinition Height="Auto"></RowDefinition>
			</Grid.RowDefinitions>

			<Border Grid.Row="0" Grid.Column="1" Height="Auto" HorizontalAlignment="Stretch" Margin="0,0,0,0" Name="borderSurveyName" VerticalAlignment="Stretch" BorderThickness="1,1,1,5" CornerRadius="5" BorderBrush="Gray" Background="WhiteSmoke" />
			<TextBlock Grid.Row="0" Grid.Column="1" Height="Auto" HorizontalAlignment="Left" Padding="7" Name="textBlockSurvey" Text="TextBlock" VerticalAlignment="Center" FontSize="14" FontWeight="Bold" Foreground="Gray" />
			<StackPanel Grid.Row="3" Grid.Column="1" Orientation="Vertical" VerticalAlignment="Stretch" x:Name="stackPanelCategories" Margin="30,0,0,0">
			</StackPanel>
			<Grid Grid.Row="5" Grid.Column="1" VerticalAlignment="Stretch" Margin="33,0,0,0" Name="gridStartStopContinue">
				<Grid.ColumnDefinitions>
					<ColumnDefinition Width="50"></ColumnDefinition>
					<ColumnDefinition Width="*"></ColumnDefinition>
				</Grid.ColumnDefinitions>
				<Grid.RowDefinitions>
					<RowDefinition Height="Auto"></RowDefinition>
					<RowDefinition Height="Auto"></RowDefinition>
					<RowDefinition Height="Auto"></RowDefinition>
					<RowDefinition Height="Auto"></RowDefinition>
				</Grid.RowDefinitions>

				<TextBlock Text="Stop" Margin="0,0,0,0" HorizontalAlignment="Right" Grid.Column="0" />
				<TextBox Name="stopTextBox" Margin="10,5,12,5" MaxHeight="75" HorizontalAlignment="Stretch" VerticalScrollBarVisibility="Visible"  Grid.Column="1" VerticalAlignment="Stretch" TextWrapping="Wrap" AcceptsReturn="True" Grid.Row="0" />
				<TextBlock Name="startTextBlock" Text="Start" Grid.Row="1"  Margin="0,0,0,0" HorizontalAlignment="Right" Grid.Column="0"  />
				<TextBox Name="startTextBox" Margin="10,5,12,5" MaxHeight="75" HorizontalAlignment="Stretch" VerticalScrollBarVisibility="Visible" Grid.Column="1" VerticalAlignment="Stretch" TextWrapping="Wrap" AcceptsReturn="True"  Grid.Row="1" />
				<TextBlock Name="continueTextBlock" Text="Continue" Grid.Row="2"  Margin="0,0,0,0" HorizontalAlignment="Right" Grid.Column="0"  />
				<TextBox Name="continueTextBox" Margin="10,5,12,5" MaxHeight="75" HorizontalAlignment="Stretch" VerticalScrollBarVisibility="Visible" Grid.Column="1" VerticalAlignment="Stretch" TextWrapping="Wrap" AcceptsReturn="True"  Grid.Row="2" />

			</Grid>

			<Button Content="Save" Grid.Row="7" Grid.Column="1" Height="23" HorizontalAlignment="Center" Margin="0,0,0,0" Name="buttonSave" VerticalAlignment="Center" Width="75" Click="buttonSave_Click" />
			<Button Content="Cancel" Grid.Row="7" Grid.Column="1" Height="23" HorizontalAlignment="Center" Margin="180,0,0,0" Name="buttonCancel" VerticalAlignment="Center" Width="75" Click="buttonCancel_Click" />
		</Grid>
	</ScrollViewer>
</baseClass:Control>